package com.oocl.customersystem.service;

import java.sql.SQLException;

import com.oocl.customersystem.exception.MyException;
import com.oocl.customersystem.pojo.Customer;


public interface CustomerManager {
	
	public int addCustomer(String cname, String pwd) throws MyException;   //用来注册
	
	public Customer loadCustomer(String cname) throws MyException;  //用来注册校验
	
	public boolean CustomerLogin(String cname,String pwd) throws MyException;//登录校验

}
